projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
437d924
)
(mouse-major-mode-menu): Run activate-menubar-hook here.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 5 May 1998 21:47:53 +0000
(21:47 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 5 May 1998 21:47:53 +0000
(21:47 +0000)
lisp/mouse.el
patch
|
blob
|
history
diff --git
a/lisp/mouse.el
b/lisp/mouse.el
index bc5f8475b772b536660e0f4ad50984a30ec06596..5d55b3dfd0e9abbb1680184588c2c835b90b239d 100644
(file)
--- a/
lisp/mouse.el
+++ b/
lisp/mouse.el
@@
-49,6
+49,8
@@
;; Switch to the window clicked on, because otherwise
;; the mode's commands may not make sense.
(interactive "@e\nP")
+ ;; Let the mode update its menus first.
+ (run-hooks 'activate-menubar-hook)
(let (;; This is where mouse-major-mode-menu-prefix
;; returns the prefix we should use (after menu-bar).
;; It is either nil or (SOME-SYMBOL).